export const LOGING = 'LOGING';
export const REMEMBER = 'REMEMBER';
export const USERNAME = 'USERNAME';
export const PSWD = 'PSWD';
export const USER_LOGIN = 'USER_LOGIN';

export const loging = isLoging => {
	return {
		type:LOGING,
		isLoging
	}
}
export const remember = isRemember => {
	return {
		type:REMEMBER,
		isRemember
	}
}
export const changeUserName = name => {
	return {
		type:USERNAME,
		name
	}
}
export const changePswd = pswd => {
	return {
		type:PSWD,
		pswd
	}
}
export const login = data => {
	return {
		type:USER_LOGIN,
		data
	}
}
